const routes = [
    {
      // path不允许为空
      path: '/*',
      // 严格路由匹配模式
      exact: true,
      component: '../layouts/index',
      routes: [
        {
          name: '微应用页面1',
          path: '/index1',
          component: '../pages/page1/index',
        },
        {
          name: '微应用页面2',
          path: '/index2',
          component: '../pages/page2/index',
        },
      ],
    },
  ];
  export default routes;